<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<div style="width: 300px;display: online;">
		<%
			String task = request.getParameter("task");
		 %>
		<c:set var="task" value="<%=task%>" scope="page"></c:set>
		<c:choose>
			<c:when test="${task eq 'showOrder'}">
				<%
					System.out.println("task==show");
				%>
				<jsp:forward page="../user/orderShow.jsp"></jsp:forward>
			</c:when>
			<c:when test="${task eq 'showCar'}">
				<%
					System.out.println("task==show");
				%>
				<jsp:forward page="../CarServlet"></jsp:forward>
			</c:when>
			<c:when test="${task eq 'showData'}">
				<%
					System.out.println("task==show");
				%>
				<jsp:forward page="../common/showData.jsp"></jsp:forward>
			</c:when>
			<c:when test="${task eq 'update'}">
				<jsp:forward page="../common/updateData.jsp"></jsp:forward>
			</c:when>
			<c:when test="${task eq 'updateSpwd'}">
				<jsp:forward page="../common/updatePswd.jsp"></jsp:forward>
			</c:when>
			<c:otherwise>
				<jsp:forward page="../common/error.jsp"></jsp:forward>
			</c:otherwise>
		</c:choose>
	</div>
</body>
</html>